package com.xieyunjie.controller;

import com.xieyunjie.domain.User;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Date;

@RestController
@RequestMapping("user")
public class UserController {


    @RequestMapping("getOne")
    public User getOne(){
        return new User(1,"hello",new Date());
    }
}
